]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
unlockDialog: Line notification labels horizontally
authorGeorges Basile Stavracas Neto <georges.stavracas@gmail.com>
Fri, 29 Nov 2019 19:05:45 +0000 (16:05 -0300)
committerFlorian Müllner <florian.muellner@gmail.com>
Mon, 10 Feb 2020 22:30:52 +0000 (22:30 +0000)
https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/872

js/ui/unlockDialog.js

index 9335e015e92e195a18df4ccb8e1094838d2d749b..1416982e3bbd855128654c1edb2a9d9e88d4e878 100644 (file)
@@ -75,12 +75,18 @@ var NotificationsBox = GObject.registerClass({
         let sourceActor = new MessageTray.SourceActor(source, SUMMARY_ICON_SIZE);
         box.add_child(sourceActor);
 
-        let textBox = new St.BoxLayout({ vertical: true });
+        let textBox = new St.BoxLayout({
+            x_expand: true,
+            y_expand: true,
+            y_align: Clutter.ActorAlign.CENTER,
+        });
         box.add_child(textBox);
 
         let title = new St.Label({
             text: source.title,
             style_class: 'unlock-dialog-notification-label',
+            x_expand: true,
+            x_align: Clutter.ActorAlign.START,
         });
         textBox.add(title);